[INFO] cloning repository https://github.com/TungstenRust/actix_rest_api
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TungstenRust/actix_rest_api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTungstenRust%2Factix_rest_api", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTungstenRust%2Factix_rest_api'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 36eac208a32b77ae13b9a9738cd44dd3b56dacf7
[INFO] checking TungstenRust/actix_rest_api against master#e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682 for beta-170-4
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTungstenRust%2Factix_rest_api" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/TungstenRust/actix_rest_api on toolchain e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/TungstenRust/actix_rest_api
[INFO] finished tweaking git repo https://github.com/TungstenRust/actix_rest_api
[INFO] tweaked toml for git repo https://github.com/TungstenRust/actix_rest_api written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/TungstenRust/actix_rest_api already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 755b9e1f84659a0970e40f44b01374519ee78f1d50e444fb4a4d8293a55be6c5
[INFO] running `Command { std: "docker" "start" "-a" "755b9e1f84659a0970e40f44b01374519ee78f1d50e444fb4a4d8293a55be6c5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "755b9e1f84659a0970e40f44b01374519ee78f1d50e444fb4a4d8293a55be6c5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "755b9e1f84659a0970e40f44b01374519ee78f1d50e444fb4a4d8293a55be6c5", kill_on_drop: false }`
[INFO] [stdout] 755b9e1f84659a0970e40f44b01374519ee78f1d50e444fb4a4d8293a55be6c5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8f427a1f2ecb5901ff8dcdcc1819fefc90ecbc6e7c15bae32c9a023d4178ccca
[INFO] running `Command { std: "docker" "start" "-a" "8f427a1f2ecb5901ff8dcdcc1819fefc90ecbc6e7c15bae32c9a023d4178ccca", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.124
[INFO] [stderr]    Compiling proc-macro2 v1.0.37
[INFO] [stderr]    Compiling syn v1.0.91
[INFO] [stderr]    Compiling log v0.4.16
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling futures-core v0.3.21
[INFO] [stderr]     Checking bytes v1.1.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.2
[INFO] [stderr]     Checking smallvec v1.8.0
[INFO] [stderr]    Compiling typenum v1.15.0
[INFO] [stderr]    Compiling lock_api v0.4.7
[INFO] [stderr]     Checking once_cell v1.10.0
[INFO] [stderr]    Compiling futures-task v0.3.21
[INFO] [stderr]    Compiling serde_derive v1.0.136
[INFO] [stderr]     Checking tracing-core v0.1.26
[INFO] [stderr]    Compiling serde v1.0.136
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]     Checking futures-sink v0.3.21
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling indexmap v1.8.1
[INFO] [stderr]    Compiling zstd-safe v4.1.4+zstd.1.5.2
[INFO] [stderr]    Compiling generic-array v0.14.5
[INFO] [stderr]    Compiling crc32fast v1.3.2
[INFO] [stderr]     Checking alloc-no-stdlib v2.0.3
[INFO] [stderr]     Checking local-waker v0.1.2
[INFO] [stderr]    Compiling ahash v0.7.6
[INFO] [stderr]     Checking http v0.2.6
[INFO] [stderr]     Checking alloc-stdlib v0.2.1
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling regex-syntax v0.6.25
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.16
[INFO] [stderr]     Checking adler v1.0.2
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling itoa v1.0.1
[INFO] [stderr]     Checking hashbrown v0.11.2
[INFO] [stderr]    Compiling quote v1.0.18
[INFO] [stderr]     Checking miniz_oxide v0.5.1
[INFO] [stderr]    Compiling bytestring v1.0.0
[INFO] [stderr]    Compiling jobserver v0.1.24
[INFO] [stderr]     Checking socket2 v0.4.4
[INFO] [stderr]     Checking signal-hook-registry v1.4.0
[INFO] [stderr]     Checking mio v0.8.2
[INFO] [stderr]     Checking getrandom v0.2.6
[INFO] [stderr]     Checking actix-service v2.0.2
[INFO] [stderr]     Checking parking_lot v0.12.0
[INFO] [stderr]     Checking brotli-decompressor v2.3.2
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking unicode-normalization v0.1.19
[INFO] [stderr]     Checking actix-utils v3.0.0
[INFO] [stderr]     Checking tokio v1.17.0
[INFO] [stderr]    Compiling cookie v0.16.0
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling firestorm v0.5.0
[INFO] [stderr]     Checking slab v0.4.6
[INFO] [stderr]     Checking num_threads v0.1.5
[INFO] [stderr]    Compiling convert_case v0.4.0
[INFO] [stderr]    Compiling time-macros v0.2.4
[INFO] [stderr]     Checking cpufeatures v0.2.2
[INFO] [stderr]    Compiling serde_json v1.0.79
[INFO] [stderr]     Checking regex v1.5.5
[INFO] [stderr]     Checking block-buffer v0.10.2
[INFO] [stderr]     Checking crypto-common v0.1.3
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking local-channel v0.1.2
[INFO] [stderr]     Checking flate2 v1.0.23
[INFO] [stderr]     Checking digest v0.10.3
[INFO] [stderr]     Checking num_cpus v1.13.1
[INFO] [stderr]     Checking sha-1 v0.10.0
[INFO] [stderr]     Checking language-tags v0.3.2
[INFO] [stderr]    Compiling zstd-sys v1.6.3+zstd.1.5.2
[INFO] [stderr]     Checking time v0.1.44
[INFO] [stderr]     Checking actix-rest v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking idna v0.2.3
[INFO] [stderr]     Checking brotli v3.3.4
[INFO] [stderr]     Checking time v0.3.9
[INFO] [stderr]     Checking url v2.2.2
[INFO] [stderr]    Compiling actix-router v0.5.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.21
[INFO] [stderr]    Compiling actix-macros v0.2.3
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]    Compiling actix-web-codegen v4.0.0
[INFO] [stderr]     Checking actix-rt v2.7.0
[INFO] [stderr]     Checking tracing v0.1.34
[INFO] [stderr]     Checking tokio-util v0.7.1
[INFO] [stderr]     Checking actix-server v2.1.1
[INFO] [stderr]     Checking actix-codec v0.5.0
[INFO] [stderr]     Checking h2 v0.3.13
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking chrono v0.4.19
[INFO] [stderr]     Checking zstd v0.10.0+zstd.1.5.2
[INFO] [stderr]     Checking actix-http v3.0.4
[INFO] [stderr]     Checking actix-web v4.0.1
[INFO] [stderr]     Checking actix-nodb v0.1.0 (/opt/rustwide/workdir/actix-nodb)
[INFO] [stdout] error: couldn't read actix-nodb/actix-nodb/src/bin/tutor-service.rs: No such file or directory (os error 2)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read actix-nodb/actix-nodb/src/bin/basic-server.rs: No such file or directory (os error 2)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read actix-nodb/actix-nodb/src/bin/tutor-service.rs: No such file or directory (os error 2)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read actix-nodb/actix-nodb/src/bin/basic-server.rs: No such file or directory (os error 2)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `actix-nodb` (bin "basic-server") due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `actix-nodb` (bin "tutor-service") due to 2 previous errors
[INFO] [stderr] error: could not compile `actix-nodb` (bin "tutor-service" test) due to 2 previous errors
[INFO] [stderr] error: could not compile `actix-nodb` (bin "basic-server" test) due to 2 previous errors
[INFO] [stdout] warning: unused import: `std::sync::Mutex`
[INFO] [stdout]  --> actix-nodb/src/handlers.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::sync::Mutex;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> actix-nodb/src/handlers.rs:99:23
[INFO] [stdout]    |
[INFO] [stdout] 99 |     params: web::Path<(usize)>,
[INFO] [stdout]    |                       ^     ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 99 -     params: web::Path<(usize)>,
[INFO] [stdout] 99 +     params: web::Path<usize>,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode`
[INFO] [stdout]    --> actix-nodb/src/handlers.rs:135:31
[INFO] [stdout]     |
[INFO] [stdout] 135 |     assert_eq!(resp.status(), StatusCode::OK);
[INFO] [stdout]     |                               ^^^^^^^^^^ use of undeclared type `StatusCode`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   + use actix_web::http::StatusCode;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode`
[INFO] [stdout]    --> actix-nodb/src/handlers.rs:176:31
[INFO] [stdout]     |
[INFO] [stdout] 176 |     assert_eq!(resp.status(), StatusCode::OK);
[INFO] [stdout]     |                               ^^^^^^^^^^ use of undeclared type `StatusCode`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   + use actix_web::http::StatusCode;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> actix-nodb/src/handlers.rs:99:23
[INFO] [stdout]    |
[INFO] [stdout] 99 |     params: web::Path<(usize)>,
[INFO] [stdout]    |                       ^     ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 99 -     params: web::Path<(usize)>,
[INFO] [stdout] 99 +     params: web::Path<usize>,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> actix-nodb/src/handlers.rs:131:29
[INFO] [stdout]     |
[INFO] [stdout] 131 |     let tutor_id: web::Path<(usize)> = web::Path::from((1));
[INFO] [stdout]     |                             ^     ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 131 -     let tutor_id: web::Path<(usize)> = web::Path::from((1));
[INFO] [stdout] 131 +     let tutor_id: web::Path<usize> = web::Path::from((1));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> actix-nodb/src/handlers.rs:131:56
[INFO] [stdout]     |
[INFO] [stdout] 131 |     let tutor_id: web::Path<(usize)> = web::Path::from((1));
[INFO] [stdout]     |                                                        ^ ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 131 -     let tutor_id: web::Path<(usize)> = web::Path::from((1));
[INFO] [stdout] 131 +     let tutor_id: web::Path<(usize)> = web::Path::from(1);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0616]: field `0` of struct `actix_web::web::Path` is private
[INFO] [stdout]    --> actix-nodb/src/handlers.rs:101:34
[INFO] [stdout]     |
[INFO] [stdout] 101 |     let tutor_id: usize = params.0;
[INFO] [stdout]     |                                  ^ private field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0616]: field `0` of struct `actix_web::web::Path` is private
[INFO] [stdout]    --> actix-nodb/src/handlers.rs:101:34
[INFO] [stdout]     |
[INFO] [stdout] 101 |     let tutor_id: usize = params.0;
[INFO] [stdout]     |                                  ^ private field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> actix-nodb/src/handlers.rs:143:9
[INFO] [stdout]     |
[INFO] [stdout] 143 |     let (tutor_id, course_id) = params.0;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^   -------- this expression has type `usize`
[INFO] [stdout]     |         |
[INFO] [stdout]     |         expected `usize`, found `(_, _)`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected type `usize`
[INFO] [stdout]               found tuple `(_, _)`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> actix-nodb/src/handlers.rs:143:9
[INFO] [stdout]     |
[INFO] [stdout] 143 |     let (tutor_id, course_id) = params.0;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^   -------- this expression has type `usize`
[INFO] [stdout]     |         |
[INFO] [stdout]     |         expected `usize`, found `(_, _)`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected type `usize`
[INFO] [stdout]               found tuple `(_, _)`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0616.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0433, E0616.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `actix-nodb` (bin "actix-nodb") due to 3 previous errors; 2 warnings emitted
[INFO] [stderr] error: could not compile `actix-nodb` (bin "actix-nodb" test) due to 5 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "8f427a1f2ecb5901ff8dcdcc1819fefc90ecbc6e7c15bae32c9a023d4178ccca", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8f427a1f2ecb5901ff8dcdcc1819fefc90ecbc6e7c15bae32c9a023d4178ccca", kill_on_drop: false }`
[INFO] [stdout] 8f427a1f2ecb5901ff8dcdcc1819fefc90ecbc6e7c15bae32c9a023d4178ccca
